﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenExpressApp.MetaModel;

namespace OpenExpressApp.Module.WPF.Templete
{
    public class DetailViewController : ViewController
    {
        public DetailViewController(DetailObjectView view)
            : base(view) { }

        public new DetailObjectView View
        {
            get
            {
                return base.View as DetailObjectView;
            }
        }
        protected override Type FindQueryType()
        {
            return base.View.EntityType;
        }

        protected override string FactoryMethod
        {
            get
            {
                return "Get";
            }
        }
    }
}
